<meta content="telephone=no" name="format-detection" />
<title>{$sys_name} - {$lang.tdjg}</title>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <!-- Bootstrap -->
    <link href="/css/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/css/reset.css" rel="stylesheet">
    <link href="/css/css/style.css" rel="stylesheet">
    <script src="/js/js/jquery-1.11.3.min.js" type="text/javascript"></script>
    <script src="/js/js/respond.js" type="text/javascript"></script>
    <script src="/js/js/common.js" type="text/javascript"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
<script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>

<body class="bg">
<!--头部-->
<include file="Public/Home/Pubheader.html" />
<section class="wrapper">
    <!--左侧导航-->
    <include file="Public/Home/Menu.html" />

        <div class="content-area">
            <div class="t80"></div>

            <div class="z_top">
                <div class="location">
                    <img src="images/location.png" alt="">
                    <span>{$lang.ur_here}：{$lang.tdjg}</span>
                </div>
            </div>
            <div class="content">
                <div class="row" style="margin: 0">
                    <div class="jg_title">
                        <p class="jg_text">{$lang.hyyhm}</p>
                        <form action="{:U('User/tdjg')}" method="post">
                        <p class="zj2_date">
                            <input type="text" name="username" value="{$keyword}" class="form_input">
                        </p>
                        <p class="zj2_btn">
                            <input type="submit" class="btn_zj" value="">
                        </p>
                        </form>
                    </div>
                    <div class="jg_list">

                        <if condition="$myseat_count gt 1">
                        <div  class="all_seat" >
                            <foreach name="allmyseat" item="item">
                            <div onclick="loadthistree({$item.id})" class="all_seat_ban" <if condition="$thisid eq $item.id ">style="background:#30c4a9;" </if> >
                                <div style="width: 100%;height: 20px;border-bottom: 1px solid #41ceb3;">{:date('Y-m-d',$item[time])}</div>
                                <div style="width: 100%;height: 20px">{$item.line}排，{$item.seat}座</div>
                            </div>
                            </foreach>


                        </div>
                        </if>


                        <div class="jg_li">
                            <div class="jg_block k_c">
                                <div class="jg1 ">
                                    <p style="cursor: pointer">{$username}</p>
                                    <span>{:date('Y-m-d H:i:s',$myseat[0][time])}</span>
                                </div>
                                <div class="jg2">
                                    <p>{$num_1_left}</p>
                                    <p>{$num_1_right}</p>
                                </div>
                            </div>
                            <div class="jg_line"></div>
                            <div class="jg_line_k"></div>
                            <div class="jg_block k_l">
                                <div class="jg1">
                                    <p style="cursor: pointer" <if condition="$mytree1[0]['id'] gt 0 "> onclick="loadthistree({$mytree1[0]['id']})"</if>>
                                        <if condition="$mytree1[0]['id'] gt 0 ">
                                            {$mytree1[0].username}
                                            <else/>
                                            空缺
                                        </if>
                                    </p>
                                    <span>
                                         <if condition="$mytree1[0]['id'] gt 0 ">
                                        {:date('Y-m-d H:i:s',$mytree1[0][time])}
                                         </if>
                                    </span>
                                </div>
                                <div class="jg2">
                                    <p>{$num_2_left}</p>
                                    <p>{$num_2_right}</p>
                                </div>
                            </div>
                            <div class="jg_block k_r">
                                <div class="jg1">
                                    <p style="cursor: pointer" <if condition="$mytree2[0]['id'] gt 0 "> onclick="loadthistree({$mytree2[0]['id']})"</if>>
                                        <if condition="$mytree2[0]['id'] gt 0 ">
                                            {$mytree2[0].username}
                                            <else/>
                                            空缺
                                        </if>
                                    </p>
                                    <span>
                                        <if condition="$mytree2[0]['id'] gt 0 ">
                                        {:date('Y-m-d H:i:s',$mytree2[0][time])}
                                        </if>
                                    </span>
                                </div>
                                <div class="jg2">
                                    <p>{$num_3_left}</p>
                                    <p>{$num_3_right}</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </section>
<script>
    function loadthistree(id){
        window.location.href = "index.php?m=User&c=User&a=tdjg&id="+id;
    }
</script>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="/js/js/bootstrap.js"></script>
    <script type="text/javascript" language="javascript">
    var nav1 = document.getElementById("nav1");
    var links1 = nav1.getElementsByTagName("li");
    var lilen1 = nav1.getElementsByTagName("a");
    var currenturl1 = document.location.href;
    var last1 = 0;
    for (var i1=0;i1<links1.length;i1++)
    {
    var linkurl1 = lilen1[i1].getAttribute("href");
    if(currenturl1.indexOf(linkurl1)!=-1)
    {
    last1 = i1;
    }
    }

    links1[last1].className = "cur1";

    </script>
</body>
</html>
